import React, { Component } from 'react';

export default class AppBlock extends Component {
  render () {
    return (
      <div className="app__block app__block_sm">
        <div className="app__block-title">
          {this.props.title}
        </div>
        <div className="app__block-content">
          {this.props.children}
        </div>
        <div className="app__block-dcr app__block-dcr_thin"></div>
        <div className="app__block-dcr app__block-dcr_right"></div>
        <div className="app__block-dcr app__block-dcr_bottom"></div>
      </div>
    )
  }
}